package ar.com.unlp.fi.lrs.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Un verbo define la acción entre un Actor y una Actividad
 * 
 * 
 * Espec :
 * https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#verb
 * 
 * 
 * Estos verbos estan prestablecidos en https://registry.tincanapi.com/#home/verbs
 *
 */
@Entity
@Table(name = "Verb")
public class Verb {
	
	private long id;
	
	private String name;
	
	private String description;

	@Id
	@GeneratedValue
	@Column(name="ID", unique=true, nullable=false)
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	@Column(name="NAME", nullable = false)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="DESCRIPTION")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
